package cn.edu.scut.sys.dao;

import java.util.List;

import cn.edu.scut.sys.vo.TrainItem;

public interface TrainItemDao {

	public Long count();
	
	public List<TrainItem> list(int start, int limit, String sort, String sidx);
	
	public void insert(TrainItem trainItem); 
	
	public TrainItem getTrainItem(Long id);
	
	public boolean updateTrainItem(TrainItem trainItem) ;
	
	public boolean delTrainItem(int id);
	
	public List<TrainItem> getAll();
}
